package com.tgjorgoski.spellcheck.highlight;

/**
 * Containes data about section of text in some node
 * Used by NodeSectionsHighlighter
 * 
 * @author Tanasije Gjorgoski <tgjorgoski@novizio.com>
 */
public class NodeSection {
	private int sectionStart;
	private int sectionEnd;
	public NodeSection(int sectionStart, int sectionEnd) {
		this.sectionStart=sectionStart;
		this.sectionEnd=sectionEnd;
	}
	public int getSectionEnd() {
		return sectionEnd;
	}
	public void setSectionEnd(int sectionEnd) {
		this.sectionEnd = sectionEnd;
	}
	public int getSectionStart() {
		return sectionStart;
	}
	public void setSectionStart(int sectionStart) {
		this.sectionStart = sectionStart;
	}
}
